<?php
/* @var $this LoanRatingsController */
/* @var $model LoanRatings */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'loan-ratings-form',
	'enableAjaxValidation'=>false,
)); ?>
    <table width="100%" cellspacing="1" cellpadding="4" border="0">
        <tbody>
        <tr class="td_title">
            <td colspan="2">
                <p class="note">Fields with <span class="required">*</span> are required.</p>
            </td>
        </tr>
        <tr bgcolor="#FFFFFF">
            <td width="15%" class="td_th"><?php echo $form->labelEx($model,'loan_rating_name'); ?></td>
            <td>
                <?php echo $form->textField($model,'loan_rating_name',array('size'=>60,'maxlength'=>200)); ?>
                <?php echo $form->error($model,'loan_rating_name'); ?>
            </td>

        </tr>

        <tr bgcolor="#FFFFFF">
            <td class="td_th">
                <?php echo $form->labelEx($model,'order_listing'); ?></td>
            <td>
                <?php echo $form->textField($model,'order_listing'); ?>
                <?php echo $form->error($model,'order_listing'); ?>
            </td>

        </tr>
        <tr bgcolor="#FFFFFF">
            <td class="td_th"><?php echo $form->labelEx($model,'is_active'); ?></td>
            <td>
                <?php echo $form->checkBox($model,'is_active'); ?>
                <?php echo $form->error($model,'is_active'); ?>
            </td>

        </tr>
        <tr bgcolor="#FFFFFF">
            <td colspan="2" class="submit"><?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?></td>
        </tr>
        </tbody>
    </table>
    <br>

<?php $this->endWidget(); ?>

</div><!-- form -->